<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
    <style>
</style>
<body>

<div id="top">
   <h1>添加员工</h1>
        <form action="" method="post">
            <table border="1" width="90%"> 
                <tr>
                    <th>姓名</th>
                    <td> <input type="text" class="txt" name="e_name" value="<?php echo $editemp['e_name'];?>"/> </td>
                </tr>
                <tr>
                    <th>所属部门</th>
                    <td> <input type="text" class="txt" name="e_dept" value="<?php echo $editemp['e_dept'];?>"/> </td>
                </tr>
                <tr>
                    <th>头像</th>
                    <td>
                       <input type="radio" name="e_img" value="images/1.jpg" 
                            <?php
                                   if ($editemp['e_img']=='images/1.jpg')  echo 'checked="checked"';
                                 ?>
                              /><img src=" images/1.jpg" alt="" />
			<input type="radio" name="e_img" value="images/2.jpg"
                                   <?php
                               if ($editemp['e_img']=='images/2.jpg')  echo 'checked="checked"';
                                    ?>   
                                 /><img src=" images/2.jpg" alt="" />
			<input type="radio" name="e_img" value="images/3.jpg"
                               <?php
                                    if ($editemp['e_img']=='images/3.jpg')  echo 'checked="checked"';
                                      ?>
                               /><img src=" images/3.jpg" alt="" />
			<input type="radio" name="e_img" value="images/4.jpg" 
                                     <?php
                                       if ($editemp['e_img']=='images/4.jpg')  echo 'checked="checked"';
                                           ?>      
                                        /><img src=" images/4.jpg" alt="" />
                    </td>
                </tr>
                <tr>
                    <th>出生日期</th>
                    <td> <input type="datetime-local" name="date_of_birth" value="<?php echo $editemp['date_of_birth'];?>"  /> </td>
                </tr>
                <tr>
                    <th>入职日期</th>
                    <td> <input type="datetime-local" name="date_of_entry" value="<?php echo $editemp['date_of_entry'];?>"/> </td>
                </tr>
                <tr>
                    <th></th>
                    <td>
                       
                        <input type="submit" value="确认"/>
                    </td>
                </tr>
            </table>            
        </form>
</div>
</body>
</html>